# -*- ecoding: utf-8 -*-
# @ModuleName: audit_api
# @Author: wangwei 
# @Time: 2023/10/20 15:00
from api.manager.managerbaseapi import ManagerBaseApi


class SelectAudit(ManagerBaseApi):

    def __init__(self):
        super().__init__()
        self.url = f"{self.host}/admin/goods?page_no=1&page_size=10&is_auth=0&keyword="
        self.method = 'get'


class Audit(ManagerBaseApi):

    def __init__(self, goods_id):
        super().__init__()
        self.url = f"{self.host}/admin/goods/batch/audit"
        self.method = 'post'
        self.json = {"goods_ids": [goods_id], "message": "", "pass": 1}
